import { useState, useEffect } from 'react';
import { connect } from 'dva';

function updateEmployee(user, dispatch) {
  return (
    <div>
      <ul>user.id</ul>
      <ul>user.name</ul>
    </div>
  );
}
export default connect(({ user }) => ({ user }))(updateEmployee);
